/**
 * 
 */
package de.guidoludwig.jtm;

import com.jgoodies.binding.beans.Model;

/**
 * @author guido
 *
 */
public class SearchModel extends Model {

	public static final String PROPERTY_CRITERIA = "criteria";
	
	private String criteria;

	public String getCriteria() {
		return criteria;
	}

	public void setCriteria(String criteria) {
		String oldCriteria = getCriteria();
		this.criteria = criteria;
		firePropertyChange(PROPERTY_CRITERIA, oldCriteria, getCriteria());
	}
	
}
